package org.tagging.dao.malay;

import org.apache.ibatis.annotations.Param;
import org.tagging.model.UnknownWord;
import org.tagging.model.UnknownWordMalay;

import java.time.LocalDateTime;
import java.util.List;

public interface UnknownWordMalayMapper {
    List<UnknownWordMalay> queryByTagId(Integer id);

    void updateSelective(UnknownWord unknownWord);

    UnknownWordMalay queryById(Integer id);

    void insertSelective(UnknownWord unknownWord);

    List<UnknownWordMalay> queryByTimePeriod(@Param("startTime") LocalDateTime startTime,
                                             @Param("endTime") LocalDateTime endTime,
                                             @Param("mode") int mode);
}
